#include "StdAfx.h"
#include "BoardLogicBase.h"
#include "DieRandomer.h"

namespace catan
{

	DieNumber BoardLogic::DieNum()
	{
		DieNumber ret;
		ret.mFirst = mDieRandomer->Next();
		ret.mSecond = mDieRandomer->Next();
		mBoard->mDied = true;
		mBoard->mDieNumbers.push_back(ret);

		return ret;
	}

	BoardLogic::BoardLogic( void )
	{
		mDieRandomer = new DieRandomer();
	}

	BoardLogic::~BoardLogic( void )
	{
		delete mDieRandomer;
	}
}	